/*
 * Copyright (c) 2010-2021 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 * 
 * SPDX-License-Identifier: EPL-2.0
 */

/**Common styles for modal dialog as type of error/warning/information.**/
.oneui .idxModalDialog,
.oneui .idxConfirmDialog{
	border: 4px solid rgba(3, 3, 3, 0.4);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
}
.oneui .idxModalDialog, 
.oneui .idxConfirmDialog{
	background: #ffffff;
	width: 500px;
	min-width: 0;
}

.oneui .idxModalDialog .dijitDialogTitleBar,
.oneui .idxConfirmDialog .dijitDialogTitleBar {
	display: none;
}
.oneui .idxModalDialog .messageSummary,
.oneui .idxConfirmDialog .messageSummary {
	overflow:auto;
	margin:20px 20px 16px;
	/*border-top: 1px solid #769DC0;*/
	_height:48px;
	/* position:relative; */
	display: table;
}
.oneui .idxModalDialog .messageSummary .messageDescription,
.oneui .idxConfirmDialog .messageSummary .messageDescription {
	word-wrap: break-word;
	/* float:left; */
	/*width: 75%;*/
	/*font-weight: bold;*/
	display: table-cell;
	vertical-align: middle;
}
.oneui .idxModalDialog .messageSummary img,
.oneui .idxConfirmDialog .messageSummary img {
	float:left;
	margin:0 10px 0 0;
	background-repeat:no-repeat;
	display:inline-block;
	width: 24px;
	height: 24px;
	background-image: url(images/msgIcons_24bit.png);
}
.dj_ie6 .oneui .idxModalDialog .messageSummary img{
	background-image: url(images/msgIcons_8bit.png);
}

.oneui .idxModalDialog .messageErrorIcon,
.oneui .idxConfirmDialog .messageErrorIcon {
	background-position: 0px -18px;
}
.oneui .idxModalDialog .messageInformationIcon,
.oneui .idxConfirmDialog .messageInformationIcon {
	background-position: -96px -18px;
}
.oneui .idxModalDialog .messageWarningIcon, 
.oneui .idxConfirmDialog .messageWarningIcon{
	background-position: -24px -18px;
}
.oneui .idxModalDialog .messageSuccessIcon, 
.oneui .idxConfirmDialog .messageSuccessIcon{
	background-position: -72px -18px;
}
.oneui .idxModalDialog .messageConfirmationIcon, 
.oneui .idxConfirmDialog .messageConfirmationIcon{
	background-position: -24px -18px;
}
.oneui .idxModalDialog .messageQuestionIcon, 
.oneui .idxConfirmDialog .messageQuestionIcon{
	background-position: -48px -18px;
}
.oneui .idxModalDialog .messageWrapper,
.oneui .idxConfirmDialog .messageWrapper {
	border-top: 1px solid #999999;
	margin: 1px 20px 1px;
	/*padding: 10px 1px;*/
}

.oneui .idxModalDialog .dijitDialogPaneContent,
.oneui .idxConfirmDialog .dijitDialogPaneContent {
	border-top: medium none;
	padding: 10px 0px;
}
.oneui .idxModalDialog .dijitTitlePane,
.oneui .idxConfirmDialog .dijitTitlePane {
	margin-bottom: 8px;
}
.oneui .idxModalDialog .messageDialogFooter,
.oneui .idxConfirmDialog .messageDialogFooter {
	/*background-color: #F7F7F7;*/
	margin: 0px 20px;
	padding: 20px 0px 5px;
	min-height: 40px;
	border-top: 1px solid #cccccc;
}
.dj_ie6 .oneui .idxModalDialog .messageDialogFooter,
.dj_ie6 .oneui .idxConfirmDialog .messageDialogFooter {
	margin-bottom: 20px;
}
.oneui .idxModalDialog .messageDialogFooter .messageCheckBox,
.oneui .idxConfirmDialog .messageDialogFooter .messageCheckBox{
	float: left;
}
.oneui .idxModalDialog .messageDialogFooter .messageAction,
.oneui .idxConfirmDialog .messageDialogFooter .messageAction{
	float: right;
}
.oneui .messageDialogFooter .messageAction .dijitButton{
	margin: 0 0 0 5px;
}
.oneui .idxModalDialog .messageRef,
.oneui .idxConfirmDialog .messageRef{
	float: left;
	margin-right: 10px;
}
.oneui .idxModalDialog a.messageIdOnly{
	text-decoration: none !important;
	color: #222 !important;
}

.oneui .idxModalDialog .messageTimeStamp,
.oneui .idxConfirmDialog .messageTimeStamp{
	float: left;
	color: #00649d;
}
.oneui .idxModalDialog .messageRef a,
.oneui .idxConfirmDialog .messageRef a{
	text-decoration:none;
}
.oneui .idxModalDialog .messageRef a:hover,
.oneui .idxConfirmDialog .messageRef a:hover{
	text-decoration:underline;
}

/* progress dialog customization */
.oneui .idxModalDialog .messageSummary .messageProgressIcon,
.oneui .idxConfirmDialog .messageSummary .messageProgressIcon {
	display: none;
}

.oneui .idxModalDialog .messageSummary .messageIconText,
.oneui .idxConfirmDialog .messageSummary .messageIconText{
	display: none;
}



.oneui .idxProgressDialog{
	width: 300px !important; 
	padding: 0px 0px 5px;
}
.oneui .idxProgressDialog .messageSummary{
	margin: auto;
	padding: 25px 0px;
}
.oneui .idxProgressDialog .messageWrapper{
	border-top: medium none;
	margin: 0px;
}
.oneui .idxProgressDialog .dijitDialogPaneContent{
	padding: 0px;
}
.oneui .idxProgressDialog .idxSimpleIconContainer{
	text-align: center;
}
.oneui .idxProgressDialog .idxSimpleIconContainer tr td{
	text-align: center;
}
.oneui .idxProgressDialog .idxSimpleIconContainer .idxSignIcon.dijitContentPaneLoading{
	margin: auto;
	padding-left: 0px !important;
    padding-top: 3px !important;
	padding-bottom: 2px !important;
	height: 45px;
	width: 40px;
}
.oneui .idxProgressDialog .idxSimpleIconContainer .idxSimpleIconText{
	padding: 0px 0px 15px 0px;
}
.oneui .idxProgressDialog .messageDialogFooter{
	padding: 15px 0px 8px;
	min-height: 30px;
	text-align: center;
}
.oneui .idxProgressDialog .messageDialogFooter .messageAction{
	float: none;
}


/**************** a11y *********************/
.dijit_a11y .idxModalDialog .messageSummary img,
.dijit_a11y .idxConfirmDialog .messageSummary img{
	display: none;
}
.dijit_a11y .idxModalDialog .messageSummary .messageIconText,
.dijit_a11y .idxConfirmDialog .messageSummary .messageIconText{
	display: inline;
	margin: 0 10px;
}

